package com.innovation.chengzhangriji.http;

import com.innovation.library.http.InnovationRequestBody;

public class AllBabyRequest extends BaseTokenRequest {

    public static final String PATH = BaseRequest.PATH + "api/get_babies_info";

    @Override
    protected InnovationRequestBody getInnovationRequestBody() {
        AllBabyRequestBody body = new AllBabyRequestBody();
        body.setPhone(getPhone());
        body.setToken(getToken());
        return body;
    }

    private class AllBabyRequestBody extends BaseTokenRequestBody {

        private AllBabyRequestBody() {
            setSv(BaseRequestConfig.SV_ALL_BABY_GET);
        }

    }
}
